package com.xinou.daily_report.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author lcc
 * @create 2021-07-05
 * @注意 本内容仅限于xinou内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
@Accessors(chain = true)
public class OkFormInfoVO {

    @ApiModelProperty(value = "ok单id")
    private Long id;

    @ApiModelProperty(value = "责任人id")
    private Long liablerId;

    @ApiModelProperty(value = "责任人")
    private String liabler;

    @ApiModelProperty(value = "指令人id")
    private Long commanderId;

    @ApiModelProperty(value = "指令人")
    private String commander;

    @ApiModelProperty(value = "结果定义")
    private String resultDefine;

    @ApiModelProperty(value = "任务内容")
    private String message;

    @ApiModelProperty(value = "截止日期")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH")
    private LocalDateTime completeDate;

    @ApiModelProperty(value = "完成日期")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishTime;

    @ApiModelProperty(value = "发布日期")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "价值")
    private Integer price;


}
